package com.flw.eslab.dto;

import com.flw.eslab.model.Report;
import com.flw.eslab.model.User;



public class Report_Dto {
	private Integer id;
	private Integer userId;
	private String content;
	private String question;
	private String solution;
	private String nextplan;

	
	public Report toReport(){
		Report report=new Report();
		report.setContent(content);
		report.setId(id);
		report.setNextplan(nextplan);
		report.setQuestion(question);
		report.setSolution(solution);
		User user=new User();
		user.setId(userId);
		report.setUser(user);
		return report;
	}
	public Report_Dto() {
	}

	/*--------------------------------------------------*/
	public String getContent() {
		return content;
	}

	public String getNextplan() {
		return nextplan;
	}

	public String getQuestion() {
		return question;
	}

	public String getSolution() {
		return solution;
	}


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public void setNextplan(String nextplan) {
		this.nextplan = nextplan;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public void setSolution(String solution) {
		this.solution = solution;
	}



}
